home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-20
/
tn210.zip
/
TN210.EXE
/
TN210_17.DOC
< prev
next >
Wrap
Text File
|
1992-06-28
|
5KB
|
114 lines
TN210_17.DOC
HOST INTERFACE
******************
When a terminal is attached to the node's RS-232 terminal port, one is
accessing the Host Interface. Its function is to allow the NodeOp to perform
housekeeping operations. The node automatically accepts one as the authorized
SYSOP whenever it senses the terminal connection.
Besides the regular USERS commands, the Host Interface has specific
host commands available. These are:
ESC C - to connect to the node.
ESC D - to disconnect from the node
While accessing the Host Interface, one can (without qualification) perform
all the other SYSOP functions that are available remotely. The Host interface
is set up as a single user application. It can be accessed by giving an ESC C
command via a terminal attached to the RS-232 port. A user can access only if
the Host is not actively CONNECTED to the node AND if the Host mode Parameter
is enabled (set to 1). Under these circumstances a user would CONNECT to the
node as normally done. Once the "connected to" response is received, the
user would enter another "C" command. The node will then respond again with
"connected to" <nodecall>. At this time communication can take place between
user and the Host terminal. Outside users in this mode will NOT be able to
SYSOP the node. Should the Host terminal be CONNECTED to the node when a user
attempts the second "C" command, the response will be "Host Busy."
An interesting application of Host mode is to connect the RS-232 port of a
"stand alone" node to a Kantronics weather station. The node's Host mode Parm
is enabled and appropriate instructions are listed in the INFO section.
The following display is from a Host mode to Kantronics weather station:
ELPWX:KB5GZZ-1} the El Paso Weather Station
Send C to connect & then DATA for current readings
Send HELP for help
Operating in North Central El Paso
MaxData is 6
ELPWX:KB5GZZ-1} TheNet Plus 2.08B (692)
Circuit(ELP:N5RG-1 N7OO-11)
ELPWX:KB5GZZ-1} Routes:
0 ELP95:WA5PIE-1 192 2
> 0 ELP4:N5FAZ-5 192 27
ELPWX:KB5GZZ-1} Heard:
No One
ELPWX:KB5GZZ-1} Connected to ELPWX:KB5GZZ-1
01/01/92 16:28:04 TPCB= +0083.0 DEGF
01/01/92 16:28:04 TF = +0055.7 DEGF
01/01/92 16:28:04 RG = 0000.0 IN
01/01/92 16:28:04 WS = 00004 MPH
01/01/92 16:28:04 WD = 00041 DEGN NE
wxn:
Type "help" followed by parameter/command to get a short description.
BYE DATA DMETRIC DUSA HELP SYSOP
wxn:
BYE
Place TNC or NETROM in command mode and disconnect.
wxn:
DATA
DATA [[sensor]] [n [step]]]] [start mmddhhmm]] ...]]
The DATA command is used to retrieve sensor readings from the
WeatherNode. The optional values (sensor, n, step, and start
date/time) can be specified to select only specific sensors or
specify the number of samples, and the step between samples to be
displayed. If the DATA command is given without any arguments, the
WeatherNode will return the last reading for each defined sensor.
Specifying n will cause n samples of the preceding sensor to be
displayed (If the sensor is left blank, n samples of all defined
sensors will be displayed). If step is specified, the WeatherNode
will skip step-1 readings between the displayed values (i.e. step=2
displays every other reading, step=3 displays every third reading,
etc). You may optionally specify a start time, using the format
start mmddhhmm where mm is the month (01-12), dd is the day (01-31),
hh is the hour (00-23) and mm is the minutes (00-59). The WeatherNode
will then display the requested data, starting at the date and time
you have specified.
Valid sensors are tf (temperature of external sensor), tp
(temperature of PC mounted sensor), ws (wind speed), wd (wind
direction), and rg (rain gauge).
wxn:
DMETRIC
Read data in metric units from acquisition buffer specifying a series of
sensor type, number of samples, and sample step. Temperature displayed
in degrees C, wind speed displayed in kph, and rain gauge displayed in
centimeters.
wxn:
DUSA
Read data in USA units from acquisition buffer specifying a series of
sensor type, number of samples, and sample step. Temperature displayed
in degrees F, wind speed displayed in mph, and rain gauge displayed in inches.
wxn:
HELP
Read the manual.
wxn:
SYSOP
Displays 3 password codes and if correct password entered, grants
access to full command set. If incorrect password, displays attempt
failed unless 3 attempts failed, then displays access denied and inhibits
access except for data command for 15 minutes.
wxn:
sysop
wxn:
bye